<?php

use Illuminate\Support\Facades\Route;
use Modules\Reservation\Http\Controllers\ReservationController;

Route::prefix('reservation')->group(function(){

	Route::get("list", [ReservationController::class, "index"]);
	Route::post("add", [ReservationController::class, "add"]);
	Route::post("cancel", [ReservationController::class, "cancel"]);
	Route::get("lessonCount", [ReservationController::class, "lessonCount"]);
	Route::get("getSubjects", [ReservationController::class, "getUserSubjects"]);
	Route::get("getLessonTime", [ReservationController::class, "getLessonTime"]);
    Route::post("updateHours", [ReservationController::class, "updateHours"]); //修改实效课时
});
